package encore.portal.container;

import java.io.IOException;

import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import javax.portlet.EventRequest;
import javax.portlet.EventResponse;
import javax.portlet.PortletException;
import javax.portlet.PortletRequest;
import javax.portlet.PortletResponse;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;
import javax.portlet.ResourceRequest;
import javax.portlet.ResourceResponse;

public interface PortletInvokerService {

	public void action(PortletRequestContext requestContext,ActionRequest actionRequest,ActionResponse actionResponse,FilterManager filterManager) throws IOException,PortletException,PortletContainerException;
	
	public void event(PortletRequestContext requestContext,EventRequest eventRequest,EventResponse eventResponse,FilterManager filterManager)throws IOException,PortletException,PortletContainerException;
	
	public void render(PortletRequestContext portletRequestContext,RenderRequest renderRequest,RenderResponse renderResponse,FilterManager filterManager)throws IOException,PortletException,PortletContainerException;
	
	public void serveResource(PortletRequestContext requestContext,ResourceRequest resourceRequest,ResourceResponse resourceResponse,FilterManager filterManager)throws IOException,PortletException,PortletContainerException;
	
	public void load(PortletRequestContext requestContext,PortletRequest portletRequest,PortletResponse portletResponse)throws IOException,PortletException,PortletContainerException;
	
	public void admin(PortletRequestContext portletRequestContext,PortletRequest portletRequest,PortletResponse portletResponse)throws IOException,PortletException,PortletContainerException;
	
}
